package com.suliao.home.mapper.industry;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.suliao.home.entity.industry.ExhibitorDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author： M1nG-CodeGenerator
 * @since： 2020-12-14 16:10:11
 * @description： 展商表 Mapper 接口
 * @version： 1.0
 */
public interface ExhibitorMapper extends BaseMapper<ExhibitorDO> {
    /**查询原料企业展商信息 */
    List<ExhibitorDO> listIndustryExhibitor();
    /**查询机械企业展商信息 */
    List<ExhibitorDO> machineryIndustryExhibitor();
    /**查询制品企业展商信息 */
    List<ExhibitorDO> productsIndustryExhibitor();
    /**查询模具企业展商信息 */
    List<ExhibitorDO> dieIndustryExhibitor();
    /**查询再生企业展商信息 */
    List<ExhibitorDO> regrowthIndustryExhibitor();

    /**
     * 查询展商关注
     */
    List<ExhibitorDO> findExhibitorAttention(@Param("userId")Integer userId);

    /**
     * 查询展商下的展品总量
     */
    int selectExhibiorCount(ExhibitorDO industryExhibitor);

}
